package com.qf.j2205.dao;

import com.qf.j2205.entity.AdminInfo;

/**
 * @ClassName AdminInfoMapper
 * @Description TODO
 * @Author Windy
 * @Date 2022/8/15 17:15
 * @Version 1.0
 **/
public interface AdminInfoMapper {
    /**
     * 通过username获取AdminInf（管理员）对象
     *
     * @param username
     * @return
     */
    public AdminInfo getAdminInfoMapByUsername(String username);

    /**
     * 更新用户
     * @param admin
     * @return
     */
    public int updateAdmin(AdminInfo admin);
}
